From fc2892fd3c6c875b1ac2a0895ccb3833c74f86a2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 7 Mar 1993 04:22:37 +0000 Subject: [PATCH] (function-key-map): Map key symbols backspace, return... into ASCII chars. --- lisp/term/x-win.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 5d6597818a7..53daad9a7d9 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -431,6 +431,15 @@ This returns ARGS with the arguments that have been processed removed." (define-key global-map "\C-z" 'iconify-frame) +;; Map certain keypad keys into ASCII characters +;; that people usually expect. +(define-key function-key-map [backspace] [127]) +(define-key function-key-map [delete] [127]) +(define-key function-key-map [tab] [?\t]) +(define-key function-key-map [linefeed] [?\n]) +(define-key function-key-map [clear] [11]) +(define-key function-key-map [return] [13]) +(define-key function-key-map [escape] [?\e]) ;;;; Selections and cut buffers -- 2.30.2